package com.hoapital.outpbillwork.module.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hoapital.outpbillwork.module.entity.InpBillDetail;
import com.hoapital.outpbillwork.module.mapper.InpBillDetailMapper;
import com.hoapital.outpbillwork.module.service.InpBillDetailService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author lvyao
 * @since 2021-02-26
 */
@Service
public class InpBillDetailServiceImpl extends ServiceImpl<InpBillDetailMapper, InpBillDetail> implements InpBillDetailService {

    @Resource
    private InpBillDetailMapper inpBillDetailMapper;

    @Override
    public int getPatientInHospital(String pid) {
        return inpBillDetailMapper.getPatientInHospital(pid);
    }
}
